package com.hgyc.mom.mes.mapper;

import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hgyc.mom.mes.entity.MesRouting;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 工艺路线Mapper接口
 *
 * @author fwj
 * @since 2025-07-01
 */
@Mapper
public interface MesRoutingMapper extends BaseMapper<MesRouting> {

    /**
     * 获取产品工艺路线
     * @param productId 产品ID
     * @return 工艺路线
     */
    List<MesRouting> getProductRouting(@Param("productId") Long productId);
}